﻿using System;
using System.Collections.Generic;
using System.Text;
using HotelManagement.Common;
using HotelManagement.DL.DAO;

namespace HotelManagement.BL
{
    public class LoginBL
    {
        public int Authorization(ref User user) 
        {
            int nResult = (int)ReturnType.FAILED;
            try
            {
                LoginDL loginDL = new LoginDL();
                nResult = loginDL.Authorization(ref user);
            }
            catch 
            {
                throw;
            }

            return nResult;
        }
    }
}
